package com.qys.livesMall.anchor.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qys.livesMall.anchor.model.dto.task.SellTaskBasePageDTO;
import com.qys.livesMall.anchor.model.dto.task.sys.SysLivesGiftPageDTO;
import com.qys.livesMall.anchor.model.entity.AnchorLivesGift;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qys.livesMall.anchor.model.vo.lives.app.AppLivesGiftListVO;
import com.qys.livesMall.anchor.model.vo.lives.sys.SysLivesGiftListVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 直播礼物表 Mapper 接口
 * </p>
 *
 * @author wzy
 * @since 2023-06-21
 */
public interface AnchorLivesGiftMapper extends BaseMapper<AnchorLivesGift> {

    Page<SysLivesGiftListVO> pageBySys(@Param("page") Page<SysLivesGiftListVO> page,
                                       @Param("query") SysLivesGiftPageDTO queryDTO);

    Page<AppLivesGiftListVO> pageByApp(@Param("page") Page<AppLivesGiftListVO> page,
                                       @Param("query") SellTaskBasePageDTO queryDTO);
}
